//package com.rparoxysm.tribase.weather;

/*
public class WeatherArchiverStarter {
    private static void createAndShowGUI() {
	JFrame frame = new JFrame("WeatherArchiver");
	frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

	WeatherOptionsPanel panel = new WeatherOptionsPanel;
	frame.getContentPane().add(panel);

	// display the window
	frame.pack();
	frame.setVisible(true);
    }

    public static void main(String[] args) {
	javax.swing.SwingUtilities.invokeLater(new Runnable() {
		public void run() {
		    createAndShowGUI();
		}
	    });
    }
}
*/

public class WeatherArchiverStarter {
    public static void main(String[] args) {
	if (args.length != 1) {
	    System.err.println("Usage: java WeatherArchiverStarter filename");
	    System.exit(1);
	}
	WeatherArchiver parser = new WeatherArchiver();
	parser.parseXml(args[0]);
    }

    public void makeFrame() {

	// Set up a GUI framework
	JFrame frame = new JFrame("Weather Archiver");
	frame.addWindowListener(new WindowAdapter() {
		public void windowClosing(WindowEvent e) {
		    System.exit(0);
		}
	    });
	
	// Set up the tree, the views, and display it all
	final WeatherArchiverPanel = new WeatherArchiverPanel();

		    
}
